package com.qfedu.recommend;

import com.qfedu.entity.ResultVo;
import com.qfedu.entity.UserHobby;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 作者：刘随阳
 * 时间: 2021/9/26 14:50
 * 描述：神光照耀,太白成瑞。六丙来迎,百福悠归
 */
@RequestMapping("cf")
@FeignClient("me-recommend")
public interface RecommendAPI {


    @PostMapping("updateUserHobby")
    ResultVo updateUserHobby(@RequestBody UserHobby userHobby);


    @GetMapping("getByUserCF")
    ResultVo getByUserCF(@RequestHeader("token") String token);


    @GetMapping("getByItemCF")
    ResultVo getByItemCF(@RequestHeader("token") String token);
}
